using System;

//using Mapster;
//using Microsoft.EntityFrameworkCore;
//using System.Collections.Generic;
//using System.Threading.Tasks;

namespace Abc.Application
{
    /// <summary>
    /// Description 功能/Action
    /// </summary>
    public class PermissionOut
    {
        ///<Summary>
        /// ID
        ///</Summary>
        public int Id { get; set; }

        ///<Summary>
        /// 类型代码
        ///</Summary>
        public TypeCode TypeCode { get; set; }

        ///<Summary>
        /// 控制器
        ///</Summary>
        public string Controller { get; set; }

        ///<Summary>
        /// 名称
        ///</Summary>
        public string Name { get; set; }

        ///<Summary>
        /// 方法/Action名称,多个用英文逗号隔开
        ///</Summary>
        public string Actions { get; set; }

        ///<Summary>
        /// 备注
        ///</Summary>
        public string Remark { get; set; }

        ///<Summary>
        /// 是否系统菜单
        ///</Summary>
        public bool IsSystem { get; set; }

        ///<Summary>
        ///
        ///</Summary>
        public bool IsDisuse { get; set; }

        ///<Summary>
        /// 是否自动生成
        ///</Summary>
        public bool IsAutoGeneration { get; set; }

        ///<Summary>
        /// 创建用户ID
        ///</Summary>
        public int CreatorUserId { get; set; }

        ///<Summary>
        /// 创建用户
        ///</Summary>
        public string CreatorUserName { get; set; }

        ///<Summary>
        /// 创建时间
        ///</Summary>
        public DateTimeOffset CreationTime { get; set; }
    }
}